#!/usr/bin/env python

from core.my_logger import MyLogger
from core.receive_data import Receiver
from core.decompress import Decompress
from core.process import Processor

def main():
	myLogger = MyLogger()

	receiver = Receiver()
	decompress = Decompress()
	processor = Processor()
	
	myLogger.info('1.begin receiving data...')
	receiver.receive_data()

	myLogger.info('2.begin decompress data...')
	file_list = decompress.decompress_data()
	
	myLogger.info('3.begin process data...')
	processor.file_list_process(file_list)

if __name__ == '__main__':
	main()
